#ifndef SPIKY_BOARD_H
#define SPIKY_BOARD_H

#include "board.h"

class SpikyBoard : public Board {
public:
    SpikyBoard(float x, float y, const GameConfig& gameConfig);
    ~SpikyBoard(); // 添加析构函数
    
    void Update() override;
    void Draw() override;
    void OnPlayerLand() override;
    bool IsBreakable() const override;
    
private:
    Texture2D spineTexture;  // 尖刺纹理
    float damageTimer;         // 伤害计时器
};

#endif // SPIKY_BOARD_H